﻿@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Microsoft.AspNetCore.Mvc.TagHelpers
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@using Volo.Abp.SettingManagement.Localization
@using Volo.Abp.SettingManagement.Web.Pages.SettingManagement.Components.EmailSettingGroup
@model SendTestEmailModal
@inject IHtmlLocalizer<AbpSettingManagementResource> L
@{
    Layout = null;
}

<form asp-page="/SettingManagement/Components/EmailSettingGroup/SendTestEmailModal">
    <abp-modal>
        <abp-modal-header title="@L["SendTestEmail"].Value"></abp-modal-header>
        <abp-modal-body>
            <abp-input asp-for="Input.SenderEmailAddress" />
            <abp-input asp-for="Input.TargetEmailAddress" />
            <abp-input asp-for="Input.Subject" />
            <abp-input asp-for="Input.Body" />
        </abp-modal-body>
        <abp-modal-footer>
            <abp-button data-bs-dismiss="modal" button-type="Secondary">@L["Cancel"]</abp-button>
            <abp-button button-type="Primary" type="submit">
                <i class="fa fa-send"></i> @L["Send"]
            </abp-button>
        </abp-modal-footer>
        
    </abp-modal>
</form>